package com.boss.salary.service;

import com.boss.salary.entity.AgencyVerify;
import com.singularsys.jep.JepException;
import org.springframework.scheduling.annotation.Async;

import java.lang.reflect.InvocationTargetException;
import java.text.ParseException;
import java.util.List;
import java.util.Map;

public interface ISalaryHistoryAsyncService {

    @Async
    void saveMonthEndAsynchronous(List<AgencyVerify>agencyVerifyEndList,Integer year, String province, List<String> agencyIds, Map<String, String> monthMap, Map<String, String> agencyNameMap, Map<String, String> agencyCodeMap, List<Object[]> personOperateUpdateList, String uuid) throws ParseException, InvocationTargetException, IllegalAccessException, NoSuchMethodException, JepException;
    @Async
    void saveMonthEndAsynchronousDouble(List<AgencyVerify>agencyVerifyDoubleList, Integer year, String province, List<String> agencyIds, Map<String, String> monthMap, Map<String, String> agencyNameMap, Map<String, String> agencyCodeMap, List<Object[]> personOperateUpdateList, String uuid) throws ParseException, InvocationTargetException, IllegalAccessException, NoSuchMethodException, JepException;
}
